package com.ruoyi.project.base.unitInfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 所属单位对象 web_unit_info
 * 
 * @author ruoyi
 * @date 2021-01-23
 */
public class UnitInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long unitId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 所属系统 */
    @Excel(name = "所属系统")
    private Long sysId;
    private String sysName;

    public String getSysName() {
        return sysName;
    }

    public void setSysName(String sysName) {
        this.sysName = sysName;
    }

    public void setUnitId(Long unitId)
    {
        this.unitId = unitId;
    }

    public Long getUnitId()
    {
        return unitId;
    }
    public void setUnitName(String unitName)
    {
        this.unitName = unitName;
    }

    public String getUnitName()
    {
        return unitName;
    }
    public void setSysId(Long sysId)
    {
        this.sysId = sysId;
    }

    public Long getSysId()
    {
        return sysId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("unitId", getUnitId())
            .append("unitName", getUnitName())
            .append("sysId", getSysId())
            .toString();
    }
}
